import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

class CustomText extends StatefulWidget {
  const CustomText({
    Key? key,
    this.text,
  }) : super(key: key);

  final String? text;

  @override
  State<CustomText> createState() => _CustomTextState();
}

class _CustomTextState extends State<CustomText> {
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(bottom: 10.0),
      child: Text(
        widget.text!,
        style: GoogleFonts.archivoBlack(
            fontSize: 110.0, fontWeight: FontWeight.w900, color: Colors.white),
      ),
    );
  }
}
